const repositoryId = 1
const files = require.context('./modules', false, /\.js$/)
const interfaces = []
// 动态加载vuex
files.keys().forEach(key => {
  interfaces.push(...files(key).default)
})
const RAP = window.RAP || {
  protocol: 'http',
  host: '172.16.35.88:8080',
  interfaces: {}
}
RAP.interfaces[repositoryId] = interfaces

export default RAP
